<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=encoding">
<script type="text/javascript" src="js/jquery-1.3.2.min.js"> </script>
<script type="text/javascript" src="js/jquery.ui.core.js"> </script>
<script type="text/javascript" src="js/ui.draggable.js"> </script>
<title>Insert title here</title>
</head>
<body>
<style type="text/css">
	#draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
	#droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
	</style>

<div class="demo">
	
<div class="draggable" class="ui-widget-content">
	<p>Drag me to my target</p>
</div>

<div class="droppable" class="ui-widget-header">
	<p>Drop here</p>
</div>

</div><!-- End demo -->

<div class="demo-description" style="display: none; ">

<p>Enable any DOM element to be droppable, a target for draggable elements.</p>

</div><!-- End demo-description -->

	<script type="text/javascript">
	$(function() {
		$(".draggable").draggable();
		$(".droppable").droppable({
			drop: function(event, ui) {
				$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
			}
		});

	});
	</script>
    </body>
</html>